package com.aaa.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * Table: oms_order_item
 */
@Data
public class OmsOrderItem implements Serializable {
    /**
     * Table:     oms_order_item
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * 订单id
     *
     * Table:     oms_order_item
     * Column:    order_id
     * Nullable:  true
     */
    private Long orderId;

    /**
     * 订单编号
     *
     * Table:     oms_order_item
     * Column:    order_sn
     * Nullable:  false
     */
    private String orderSn;

    /**
     * Table:     oms_order_item
     * Column:    product_id
     * Nullable:  true
     */
    private Long productId;

    /**
     * Table:     oms_order_item
     * Column:    product_pic
     * Nullable:  true
     */
    private String productPic;

    /**
     * Table:     oms_order_item
     * Column:    product_name
     * Nullable:  true
     */
    private String productName;

    /**
     * Table:     oms_order_item
     * Column:    product_brand
     * Nullable:  true
     */
    private String productBrand;

    /**
     * Table:     oms_order_item
     * Column:    product_sn
     * Nullable:  true
     */
    private String productSn;

    /**
     * 销售价格
     *
     * Table:     oms_order_item
     * Column:    product_price
     * Nullable:  true
     */
    private BigDecimal productPrice;

    /**
     * 购买数量
     *
     * Table:     oms_order_item
     * Column:    product_quantity
     * Nullable:  true
     */
    private Integer productQuantity;

    /**
     * 商品sku编号
     *
     * Table:     oms_order_item
     * Column:    product_sku_id
     * Nullable:  true
     */
    private Long productSkuId;

    /**
     * 商品sku条码
     *
     * Table:     oms_order_item
     * Column:    product_sku_code
     * Nullable:  true
     */
    private String productSkuCode;

    /**
     * 商品分类id
     *
     * Table:     oms_order_item
     * Column:    product_category_id
     * Nullable:  true
     */
    private Long productCategoryId;

    /**
     * 商品的销售属性
     *
     * Table:     oms_order_item
     * Column:    sp1
     * Nullable:  true
     */
    private String sp1;

    /**
     * Table:     oms_order_item
     * Column:    sp2
     * Nullable:  true
     */
    private String sp2;

    /**
     * Table:     oms_order_item
     * Column:    sp3
     * Nullable:  true
     */
    private String sp3;

    /**
     * 商品促销名称
     *
     * Table:     oms_order_item
     * Column:    promotion_name
     * Nullable:  true
     */
    private String promotionName;

    /**
     * 商品促销分解金额
     *
     * Table:     oms_order_item
     * Column:    promotion_amount
     * Nullable:  true
     */
    private BigDecimal promotionAmount;

    /**
     * 优惠券优惠分解金额
     *
     * Table:     oms_order_item
     * Column:    coupon_amount
     * Nullable:  true
     */
    private BigDecimal couponAmount;

    /**
     * 积分优惠分解金额
     *
     * Table:     oms_order_item
     * Column:    integration_amount
     * Nullable:  true
     */
    private BigDecimal integrationAmount;

    /**
     * 该商品经过优惠后的分解金额
     *
     * Table:     oms_order_item
     * Column:    real_amount
     * Nullable:  true
     */
    private BigDecimal realAmount;

    /**
     * Table:     oms_order_item
     * Column:    gift_integration
     * Nullable:  true
     */
    private Integer giftIntegration;

    /**
     * Table:     oms_order_item
     * Column:    gift_growth
     * Nullable:  true
     */
    private Integer giftGrowth;

    /**
     * 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]
     *
     * Table:     oms_order_item
     * Column:    product_attr
     * Nullable:  true
     */
    private String productAttr;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table oms_order_item
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}